# front/Dockerfile
from node:19-alpine AS builder

WORKDIR /front

COPY package.json ./
COPY package-lock.json ./

RUN npm install
ENV PATH="/usr/local/bin:${PATH}"

COPY . .

EXPOSE 3000

RUN npm run build
